<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http//www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width; initial-scale=1; maximum-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="apple-touch-icon" sizes="114x114" href="__IMG__/apple-touch-icon.png" />
<link rel="apple-touch-startup-image" href="__IMG__/apple-touch-startup-image.png" />
<meta name="author" content="FamousThemes" />
<meta name="Keywords" content="自家农场，蔬菜" />
<meta name="Description" content="自家农场，蔬菜" />
<title>自家农场</title>

<link rel="stylesheet" href="__CSS__/style.css" type="text/css" media="screen" />

<link href='http//fonts.googleapis.com/css?family=Niconne' rel='stylesheet' type='text/css'>
<script src="__JS__/jquery.min.js" type="text/javascript"></script>
<script src="__JS__/jquery.tabify.js" type="text/javascript" charset="utf-8"></script>
<script src="__JS__/jquery.flexslider.js" type="text/javascript"></script>
<script src="__JS__/json2.js" type="text/javascript"></script>
<!-- <script src="__JS__/transportGoods.js"></script>
<script type="text/javascript" src="http//ecshopw7t.cdn.duapp.com/js/transport_mobile.js"></script>
<script type="text/javascript" src="http//ecshopw7t.cdn.duapp.com/js/utils_mobile.js"></script> -->
<script src="__JS__/common.js" type="text/javascript"></script>
<!-- <script src="__JS__/effects.js" type="text/javascript"></script> -->
<script src="__JS__/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="__CSS__/prettyPhoto.css" type="text/css" media="screen" title="prettyPhoto main stylesheet" charset="utf-8" />

<script type="text/javascript">
window.addEventListener("load",function() {
		// Set a timeout...
	setTimeout(function(){
		// Hide the address bar!
		window.scrollTo(0, 1);
	}, 0);
});
$(window).load(function() {
	$('.images_slider').flexslider({
	animation: "slide",
	directionNav: false,
	controlNav: true,
	animationLoop: true,
	animationDuration: 300, 
	slideshow: false
	});
});
function showDiv(){
    document.getElementById('popDiv').style.display = 'block';
}
function closeDiv(){
    document.getElementById('popDiv').style.display = 'none';
}

</script>
</head> 
<section class="Fh_head">
	 	<div class="page_title"><a href="default.htm"><img src="__IMG__/logo.png"></a></div>
         
    	<div style="float:right; padding-right:10px; padding-top:20px;">
     
        
        <!-- <a href="index.html" class="Fh_hright btn_menu"><span></span></a>
        <a href="user.html" class="Fh_hright btn_user"><span></span></a>
        <a href="flow.html" class="Fh_hright btn_cart"><span></span></a> -->
    	</div>
        <div class="clear"></div>
    </div>
</section>
<!--main begin-->
﻿<section class="F_home box-shadow marg20">
    <ul class="Fh_list marg20">
  			<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li>
             		<a href="<?php echo U('Index/detail',array('id'=>$vo['id']));?>"><img class="Fhimg deal-img" style="min-height:120px;" src="<?php echo getImgPath($vo[img]);?>"></a>
             		<h2><a href="<?php echo U('Index/detail',array('id'=>$vo['id']));?>"><?php echo ($vo["title"]); ?></a></h2>
    				<p><strong>￥<?php echo ($vo["saleprice"]); ?>元</strong><del>￥<?php echo ($vo["price"]); ?>元</del><span>0人购买</span></p>
  				<!-- <p><a href="javascript:showDiv();addToCartGoods(119)" class="fc_btn fc_btn_gwc">加入购物车</a></p> -->
  				<span class="Fh_notehot"><strong>热卖</strong></span>
  			</li><?php endforeach; endif; else: echo "" ;endif; ?>
      	<div id="moreDeal"></div>
	   </ul>
      <!-- <div id="popDiv" class="mydiv" style="display:none;">
          <div style="float:left">
              <img src="__IMG__/gou.gif" style=" vertical-align:middle; padding-right:10px;" /> 商品已经添加到购物车
          </div>
          <a href="javascript:closeDiv()"> <img style="float:right; padding-top:15px;" src="__IMG__/guanbi1.gif"  /></a>
          <div class="blank"></div>
          <p style="text-align: center;">
              <a href="flow.php"><img src="__IMG__/qujiesuan.gif" style=" vertical-align:middle; padding-right:10px;" /></a>
              <a href="javascript:closeDiv()" ><img src="__IMG__/zaiguanghui.gif" style=" vertical-align:middle; padding-right:10px;" /></a>
          </p>
          <div class="blank"></div>
      </div> -->
</section>
<!--main end-->	
<div class="margb20"></div>
<section class="Fh_bottom">
	<a href="index.php"><img src="__IMG__/logobott.png"></a>
</section>
</body>
</html>